package com.sdry.utils;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;

public class QRCodeUtilTest {

    public void setUp() throws Exception {
    }

    public static void main(String[] args) throws FileNotFoundException, Exception {
    	String dir = "D:/Pictures/16633.png";
        String content = "dfsdiovymbuhgnj防化服 放大镜后发v读后感3222~！@#￥%……";
        String logoImgPath = "D:/Pictures/login_bj.jpg";
        File file = new File(dir);
        QRCodeUtil.encode(content, logoImgPath, new FileOutputStream(file), true);
	}
}
